/*
 * @Author: Jayken
 * @Email: jaykenxie@outlook.com
 * @Date: 2019-08-06 14:03:22
 */
export default [
  // max
  {
    type: "input",
    title: "最大值",
    field: "max",
    value: 99999,
    props: {
      type: "number",
      number: true,
      maxlength: 10
    },
    col: {
      span: 12
    }
  },
  // min
  {
    type: "input",
    title: "最小值",
    field: "min",
    value: -99999,
    props: {
      type: "number",
      number: true,
      maxlength: 10
    },
    col: {
      span: 12
    }
  },
  // step
  {
    type: "InputNumber",
    title: "步长",
    field: "step",
    value: 1,
    props: {
      precision: 2,
      width: '360px'
    },
    col: {
      span: 12
    }
  },
  // pleasehold
  {
    type: "input",
    title: "提示文本",
    field: "placeholder",
    value: "请输入",
    props: {
      type: "text",
      maxlength: 30
    },
    col: {
      span: 12
    }
  },
  // readonly
  {
    type: "select",
    title: "只读",
    field: "readonly",
    value: '0',
    options: [{ value: '1', label: "是", disabled: false }, { value: '0', label: "否", disabled: false }],
    props: {
      placeholder: "请选择",
      "not-found-text": "无匹配数据",
      placement: "bottom"
    },
    col: {
      span: 12
    }
  },
   // disabled
   {
    type: "select",
    title: "禁用状态",
    field: "disabled",
    value: '0',
    options: [{ value: '1', label: "禁用", disabled: false }, { value: '0', label: "不禁用", disabled: false }],
    props: {
      placeholder: "请选择",
      "not-found-text": "无匹配数据",
      placement: "bottom"
    },
    col: {
      span: 12
    }
  },
]